class 获取虚拟事项:
    def start(self,regionCode):
        import requests
        import cookie


        item=[
            '企业迁入申请',
'企业迁出调档',
'企业变更登记（迁移）',
'企业税务迁出申请',
'迁出地住房公积金个人账户封存',
'迁入地住房公积金单位登记开户',
'迁出地社会保险单位基本信息变更',
'迁入地企业社会保险登记'


        ]
        code = []
        for i in item:
            data = {
                '_search': 'true',
                'nd': '1721208319230',
                'rows': '1000',
                'page': '1',
                'sidx': 'T.CODE',
                'sord': 'desc',
                'itemName': i,
                'itemCode': '',
                'orgCode': '',
                'regionCode': '{}'.format(regionCode),
            }

            response = requests.post(
                'http://59.215.206.188/sxgl/mng/unreal/receive/queryUnrealProjectItemForShow',
                cookies=cookie.cookies,
                headers=cookie.headers,
                data=data,
            ).json()

            for item in response['rows']:
                if (item['cell']['NAME']==i and item['cell']['TYPE']=='XN'):
                    # print(item['cell']['NAME'])
                    code.append(item['cell']['CODE'])
        # print(code)
        return code
